// 获取用户信息
import storeOper from './storage_v1';

export const LOCAL_USER_INFO = 'LOCAL_USER_INFO';

export function isLogined() {
	let localUserInfo = storeOper.get(LOCAL_USER_INFO);
	if (_.isEmpty(localUserInfo)) {
		return false;
	} else {
		return localUserInfo.id;
	}
}